Skip to content

feat(api/asset): add new list unassociated assets endpoint#750

Merged
TylerAdamMartinez merged 2 commits into
stagingfrom
feature/tam-bdms-922-disassociated-list
Jul 1, 2026
Merged

feat(api/asset): add new list unassociated assets endpoint#750
TylerAdamMartinez merged 2 commits into
stagingfrom
feature/tam-bdms-922-disassociated-list

Conversation

@TylerAdamMartinez

Copy link
Copy Markdown
Contributor

Why

This PR addresses the following problem/context:

  • Adds an endpoint to retrieve assets that are not currently associated with any Thing.
  • Supports the upcoming frontend page at (url)/ocotillo/asset/unassociated. Enables users to review unassociated assets and decide whether to delete them or reassociate them at a later time.

How

Implementation summary - the following was changed/added/removed:

  • Added a new GET /asset/unassociated endpoint that returns assets without an associated Thing.

Notes

Any special considerations, workarounds, or follow-up work to note?

  • This endpoint is intended for use by the (url)/ocotillo/asset/unassociated frontend list page.

@chasetmartin chasetmartin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, just one note about adding a comment for future changes/dev given the previous documentation about signed urls.

Comment thread api/asset.py
@TylerAdamMartinez TylerAdamMartinez merged commit 4283c88 into staging Jul 1, 2026
9 checks passed
@TylerAdamMartinez TylerAdamMartinez deleted the feature/tam-bdms-922-disassociated-list branch July 1, 2026 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants